<template>
	<view v-show="show">
		<view class="center" >
		<u-loading :show="true" mode="flower" size="80"></u-loading>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			show:{
				type:Boolean,
				default:false
			}
		},
	}
</script>

<style scoped lang="less">
    .center{
		// position: ;
		// padding:20rpx ;
		position: fixed;
		top:50%;
		left: 50%;
		z-index: 999;
		transform: translate(calc(-50%),calc(-100%));
		// transform: ;
		width: 80rpx;
		height: 80rpx;
		background-color: rgba(0, 0, 0, 0.5);
		display: flex;
		align-items: center;
		justify-content: center;
		
		
	}
</style>
